package com.bwl.candymall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 整合mybatiplus
 * 1.导入依赖
 * 2.配置
 *  2.1配置数据源
 *      2.1.1导入数据库驱动
 *  2.2配置mybatisplus相关信息
 *      2.2.1配置
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.bwl.candymall.product.dao")
public class CandymallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(CandymallProductApplication.class, args);
    }

}
